//
//  ListTable.h
//  CWeekly
//
//  Created by  on 12-4-25.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Page.h"
@protocol listTableDelegate;
@interface ListTable : UIView<UITableViewDataSource,UITableViewDelegate>
{
    UIInterfaceOrientation interfaceOrientation;
    UITableView* table;
    NSMutableArray* dataArray;
    id<listTableDelegate>delegate;
    NSString*imId;
}
@property(nonatomic,retain) NSString*imId;
@property(nonatomic, assign) id<listTableDelegate>delegate;
@property(nonatomic, retain)UITableView* table;
@property(nonatomic, assign)UIInterfaceOrientation interfaceOrientation;
@property(nonatomic, retain)NSMutableArray* dataArray;
@end
@protocol listTableDelegate <NSObject>

-(void)listTableSelectedPage:(Page*)pag;

@end